Add has_many and belongs_to relationship for user and posts