Added edit and delete functions

-For both edit and delete, because we are executing on client side, set appropriate allow and deny methods:
1. updating a deleting is only allowed if it is your own post
2. update only allowed for title and url fields
-Added an if statement that hides edit button if not your own post
-Set up route for the edit page ('/posts/:_id/edit')