fix the login issues