Web-app: Added a check to see if a group exists