Added validation mathods to post, refactored post view to use a form partial.