Corrected login redirect