Debug code

Added codes to see if the push notification code was successful