store the login time in the users table