added basic function to send a push notification