Corrects login issues