added index and login page