chain-login fixed