Added Validation, and relationships between posts and users