created error page
/posts/new get & post requests working