made it so the login and register buttons actually work