Moved groupID to environment variable and user save to found-user block