Added sql to http auth and tweaked a bit of Projects.php