auth working perfectly