added joining groups, some leader privileges, and updated the group table in profile