Changes resetting listsner to be used for more than the resetting events.
Updated function to include redirect on the change of passeword.
Updated console.