added getFoldersForUser method