added group creation to the website and fixed a minor bug where groups would be selected with two duplicates