Update index.js with temp user for database access