user_id saves to database when creating posts