Login now redirects to proper page