added cloud messaging to server upon upload