deleted unnecessary code in pw reset controller.