Add new functions to store activity(failed login and change password successfully).
Merge remote-tracking branch 'origin/master'