Added reset to login controller.