fixing login issue