changes uid to user_id