add login and register pages