Added index and register pages