add user group and server group with basic functions