Added validation methods fto post, refactored post views to use a form partial.'