modified login and register pages