added questions to database, changing view page name,and convert it in to rails format of form