Added following method to user model