store the login time in the users table

This should pass the code coverage test.