adding logic so that only students with same semster as group can join/invite/...