added validations for profile fields