added more documentation to User class