changed forms to partials and fixed routes for destroy action and for the home page