added groups and permissions features