created an edit page and moved the routes around on main.rb