Added getGender method in User model