Added index and login