add event whenever reset pwd is clicked