added edit view, controller logic and also links to edit and home in show question