Added UI and logic for resetting password