Added validation methods to post, refactored post views