register gcm id and some toasts