after submitting key, takes you to register instead of login page.