Fix redirect upon loging in