updated answer query for index/show actions and json respond in the create question controller