Resetting password.

This adds functionality to reset one's password.