passing info in URL to let template know the login failed