Fixing redirects on signup, signin and signout