Added the NewPost page with simple validation