Update index.js

Logout