cleaned up auth bundle, fixed up flex files