first pass at push notifications for android
minor amendment
added logging to thresholds
added logging to thresholds
added logging to thresholds
secure data in db