fixed bug with user profile validations