added get cached projects and workspaces functions