User login issues fixed