Added helper methods to User class