Storing auth data in mainCtrl