working on login reidrect