Fixed bug with user profile validation
Generated profile controller
Integrated profiles and included tests for them