added validations for add profile page