add accessor methods to User class