Moved add project db query to projects.js