Move player joining handler to separate method.