How many users are you looking to do this for becuase we had a little bit of software written to do this for a client which writes username, time, date and client for every logon/off to an SQL Database.
There are then a set of Web Pages which allow you to report & filter these events so that you get some decent information back.
I could put you in touch with the original developer who would more than likely be able to license you a copy.