added groups and restricted access