fix register not login issue
Merge branch 'master' of https://github.com/mrhack/dipei