When attempting to login, the "log in" button changes to the "sign up" button and routes the users to the sign up page (and complains about the user-name already being taken.
Toggle from login to signup and note how the button stays as the "sign up" redirect.
Toggle from login to signup and note how the button stays as the "sign up" redirect.