Added callback to the server protocol when authentication is successful