added hook for player disconnect