login and register pages updated