Did some enhancements, refactoring and making profile / questionnaire controllers more secure.