added post model, validations, belongs_to associations for post and user