Remove mongo call on index page load