readded resetPasswort functionallity