Express/Node server side code for my Angularjs quiz app