Fixing auth problem