[enhancement]
To enhancement login
--changelog
  * move login captcha logic to direct action
  * move useless code
  * change file header license