end of User class (step 2.1)