Added delete post functionality, beginning to add edit fucntionality