Extract player join/quit to a method