Merge pull request #77 from airballoon/bingo

1、获取登录名正则优化 2、验证用户不用取出所有的用户名比对。
Merge pull request #78 from airballoon/bingo

tweak middleware.
bug fix and add logger in error handler.