Use checkPassword DB API for login
train-27
Merge remote-tracking branch 'upstream/master'