fixed login issue