Added custom endpoint option for heartbeat middleware
Added Redis based auth blocking.