first (half working) GCM stuff
Added some flexibility to which URL is invoked and the relevant message.