COnfigured default heartbeat code - NEEDS UPDATED whene we have the Event POST code'
Updated heartbeat code
Removed console log on server response from countevent