adding login and register pages