added a view for new post page