REST calls for different user and group functions