mod index.html session to authResponse