added index page and auth