added generateResetPasswordToken function to interface