Logging the last accessed time of a user in the users table on every request