fixing auth