Added the code to reset passwords and updated the routes.