Added ability for Authorization using cancan. Added ability to add responses to a survey. Added validations to the response for a survey based on the question type. Rendering appropriate input box for the type of question.