Modified userController to have a login session TTL