fixed bug with user profile validation
generated profile controller