changed the login route so it doen't crash the server while debuging the login button