implement gcm server side (without persistance)