User class exercise