Corrected login issue