getProjectsForUser implemented -> To substitute the getJSON method