Added password recovery feature. Fixes #79