Fixed login and register pages.