updated heartbeat.html with login event query results