fix auth
bugfixes