got a lot of functionality added, edit, update and destroy posts