fixing auth call