Added player login detection