Add window.message listener for checkpoint login in order to set focus