updated login and register pages