added groups and users API