Example for using user belongs to groups function