Add validate user logic.
Merge branch 'master' of https://github.com/Software-Craftsmanship-Group-Shanghai/ci-team-one