Added form for new post and edit post