fix issues with heroku rails
add edit and delete funcitonality