added security group functionality.  Tests pending