fix issue with login