fix player authentication