Added new methods to user model