added options.validateFunction for...

personalized function to check custom user status before password check
(options.validateError for custom messages)
fix typo error
typo fix