Verify and update the password

Fixes #62 .

Have not added any tests.

If you are ok with the idea, we can proceed.

Thanks!