make getPropertiesForUser more robust