Fix index.html for auth and non-auth view