fix error on security/login issue