Added form controller for groups