added Registering page functionality