added edit and cancel actions and also posts, controllers and templates for individual posts