added resources routes and  form to app