Node project trying out passport, angular.js, REST