Edit and delete buttons
Fixed some urls in render_template