Implemented resetting password by entering the code in a form.