fixing login issues