developed adding new post and viewing all posts