change student status when joining and leaving a project