add accessor methods to User class
Merge pull request #1 from dobbyloo/master

add accessor methods to User class