Implemented correct behaviours for Session Join/Leave button and sessioncard/sessionpanels.