cleaned up login/signup redirection mess