Temporarely removed crash preventing lines
Moved cache inserting out returning reponse to client callback
Remove unnecessary console.log()