created relationship has_many status and belongs_to user