user has many media and media belongs to user