attempt and making a single page web app in node using express and mongo db