rollback cookie handling
addded gcm messaging