Got login.html to capture calling query string using regex javascript - see script in head of login.html