created login and register pages