+getusergroups, fix exists & getCreator

also fix a bug that checks whether an objects key is undefined