Added validation methods topost, refactored post views to use a form partial