updated user session variable to hold the user object