create edit view
add edit to before_action
test code for rendering edit template