added create action in controller, and added form fields in index.html.erb