fix  login issue