add heartbeat endpoint