fixed login callback issue