authn function to update password
Merge pull request #12 from inscitiv/update-password

authn function to update password