changed index.js in root to store data to fake database