shuffle auth code to proper files