send token to the server