Add functionality for resetting passwords
Refactor the registration and update README.md