Added createGroup to the controller