updated accessor methods in User