working on resetpass.js