began login and register pages