fixing changes of authcontroller