Added handler for player for leaving a game. Also added necessary model event updates to backend side.