updated create group to actually set the correct user pointer and cleaned up redundant code in group view