Solved auth bug