Corrected navigation of login