fixed the redirects after login
fixed the redirects 2